import { HashRouter, Switch } from 'react-router-dom'
import RouteAuth from './components/RouteAuth/index.jsx'
import routes from './router/route.js'
import { ConfigProvider } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';
import './App.css'
function App() {
  return (
    <ConfigProvider locale={zhCN}>
      <HashRouter>
        <Switch>
          <RouteAuth routerConfig={routes}></RouteAuth>
        </Switch>
      </HashRouter>
    </ConfigProvider>
    
  )
}

export default App
